projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152d12b
)
(rmail-auto-file): Rewrote test for "filed" using
author
Alex Schroeder
<alex@gnu.org>
Tue, 17 Jan 2006 10:04:38 +0000
(10:04 +0000)
committer
Alex Schroeder
<alex@gnu.org>
Tue, 17 Jan 2006 10:04:38 +0000
(10:04 +0000)
rmail-desc-get-keywords.
lisp/mail/rmail.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmail.el
b/lisp/mail/rmail.el
index 227abc0d07d18c232a3159822d69a35fa4eec882..e03e68bb37b67deda99c6954f8dddd3e9c5c597d 100644
(file)
--- a/
lisp/mail/rmail.el
+++ b/
lisp/mail/rmail.el
@@
-2316,7
+2316,7
@@
iso-8859, koi8-r, etc."
(defun rmail-auto-file ()
"Automatically move a message into a sub-folder based on criteria.
Called when a new message is displayed."
- (if (or (
rmail-message-labels-p rmail-current-message "filed"
)
+ (if (or (
member "filed" (rmail-desc-get-keywords rmail-current-message)
)
(not (string= (buffer-file-name)
(expand-file-name rmail-file-name))))
;; Do nothing if it's already been filed.